[INFO] fetching crate rustic_hal 0.2.0...
[INFO] testing rustic_hal-0.2.0 against master#b70888601af92f6cdc0364abab3446e418b91d36 for pr-86479
[INFO] extracting crate rustic_hal 0.2.0 into /workspace/builds/worker-7/source
[INFO] validating manifest of crates.io crate rustic_hal 0.2.0 on toolchain b70888601af92f6cdc0364abab3446e418b91d36
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate rustic_hal 0.2.0
[INFO] finished tweaking crates.io crate rustic_hal 0.2.0
[INFO] tweaked toml for crates.io crate rustic_hal 0.2.0 written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8238c002289132af2b24095226b457e12a2047f5bfeacbb6013bc5329c9e7bec
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "8238c002289132af2b24095226b457e12a2047f5bfeacbb6013bc5329c9e7bec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8238c002289132af2b24095226b457e12a2047f5bfeacbb6013bc5329c9e7bec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8238c002289132af2b24095226b457e12a2047f5bfeacbb6013bc5329c9e7bec", kill_on_drop: false }`
[INFO] [stdout] 8238c002289132af2b24095226b457e12a2047f5bfeacbb6013bc5329c9e7bec
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2763bd27612a50def6ba7e8a3618d002fb8320a6477daafc5817c6c73e8835a5
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "2763bd27612a50def6ba7e8a3618d002fb8320a6477daafc5817c6c73e8835a5", kill_on_drop: false }`
[INFO] [stderr]    Compiling rustic_hal v0.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling serde_json v1.0.66
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/resource.rs:219:21
[INFO] [stdout]     |
[INFO] [stdout] 219 |                 let mut lk = OneOrMany::new();
[INFO] [stdout]     |                     ----^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/resource.rs:230:21
[INFO] [stdout]     |
[INFO] [stdout] 230 |                 let mut content = entry.get_mut(); //&mut HalLinks
[INFO] [stdout]     |                     ----^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/resource.rs:266:21
[INFO] [stdout]     |
[INFO] [stdout] 266 |                 let mut content = entry.get_mut(); //&mut HalLinks
[INFO] [stdout]     |                     ----^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/resource.rs:284:21
[INFO] [stdout]     |
[INFO] [stdout] 284 |                 let mut content = entry.get_mut(); //&mut HalLinks
[INFO] [stdout]     |                     ----^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 2.19s
[INFO] running `Command { std: "docker" "inspect" "2763bd27612a50def6ba7e8a3618d002fb8320a6477daafc5817c6c73e8835a5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2763bd27612a50def6ba7e8a3618d002fb8320a6477daafc5817c6c73e8835a5", kill_on_drop: false }`
[INFO] [stdout] 2763bd27612a50def6ba7e8a3618d002fb8320a6477daafc5817c6c73e8835a5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d3a6e31c4a257a307891f3209918a850a5237f937885f2c75dd367a37c6cf622
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "d3a6e31c4a257a307891f3209918a850a5237f937885f2c75dd367a37c6cf622", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling crossbeam-utils v0.8.5
[INFO] [stderr]    Compiling memchr v2.4.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.5
[INFO] [stderr]    Compiling rayon-core v1.9.1
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling regex-automata v0.1.10
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling memoffset v0.6.4
[INFO] [stderr]    Compiling rayon v1.5.1
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling tinytemplate v1.2.1
[INFO] [stderr]    Compiling criterion-plot v0.3.1
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/resource.rs:219:21
[INFO] [stdout]     |
[INFO] [stdout] 219 |                 let mut lk = OneOrMany::new();
[INFO] [stdout]     |                     ----^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/resource.rs:230:21
[INFO] [stdout]     |
[INFO] [stdout] 230 |                 let mut content = entry.get_mut(); //&mut HalLinks
[INFO] [stdout]     |                     ----^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/resource.rs:266:21
[INFO] [stdout]     |
[INFO] [stdout] 266 |                 let mut content = entry.get_mut(); //&mut HalLinks
[INFO] [stdout]     |                     ----^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/resource.rs:284:21
[INFO] [stdout]     |
[INFO] [stdout] 284 |                 let mut content = entry.get_mut(); //&mut HalLinks
[INFO] [stdout]     |                     ----^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling walkdir v2.3.2
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling rand_xoshiro v0.1.0
[INFO] [stderr]    Compiling crossbeam-channel v0.5.1
[INFO] [stderr]    Compiling bstr v0.2.16
[INFO] [stderr]    Compiling csv-core v0.1.10
[INFO] [stderr]    Compiling crossbeam-deque v0.8.1
[INFO] [stderr]    Compiling csv v1.1.6
[INFO] [stderr]    Compiling criterion v0.2.11
[INFO] [stderr]    Compiling rustic_hal v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `super::super::link::HalLink`
[INFO] [stdout]  --> src/tests/one_or_many.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use super::super::link::HalLink;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::*`
[INFO] [stdout]  --> src/tests/one_or_many.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde::*;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `for<'d> T: Deserialize<'d>` is not satisfied
[INFO] [stdout]     --> src/tests/one_or_many.rs:10:5
[INFO] [stdout]      |
[INFO] [stdout] 10   |     oom: OneOrMany<T>
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^ the trait `for<'d> Deserialize<'d>` is not implemented for `T`
[INFO] [stdout]      |
[INFO] [stdout] note: required because of the requirements on the impl of `Deserialize<'_>` for `OneOrMany<T>`
[INFO] [stdout]     --> src/resource.rs:117:14
[INFO] [stdout]      |
[INFO] [stdout] 117  | impl<'de, T> Deserialize<'de> for OneOrMany<T>
[INFO] [stdout]      |              ^^^^^^^^^^^^^^^^     ^^^^^^^^^^^^
[INFO] [stdout] note: required by `next_element`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.127/src/de/mod.rs:1703:5
[INFO] [stdout]      |
[INFO] [stdout] 1703 | /     fn next_element<T>(&mut self) -> Result<Option<T>, Self::Error>
[INFO] [stdout] 1704 | |     where
[INFO] [stdout] 1705 | |         T: Deserialize<'de>,
[INFO] [stdout]      | |____________________________^
[INFO] [stdout] help: consider further restricting this bound
[INFO] [stdout]      |
[INFO] [stdout] 7    | #[derive(Serialize, Deserialize + for<'d> serde::Deserialize<'d>)]
[INFO] [stdout]      |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `for<'d> T: Deserialize<'d>` is not satisfied
[INFO] [stdout]     --> src/tests/one_or_many.rs:10:5
[INFO] [stdout]      |
[INFO] [stdout] 10   |     oom: OneOrMany<T>
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^ the trait `for<'d> Deserialize<'d>` is not implemented for `T`
[INFO] [stdout]      |
[INFO] [stdout] note: required because of the requirements on the impl of `Deserialize<'_>` for `OneOrMany<T>`
[INFO] [stdout]     --> src/resource.rs:117:14
[INFO] [stdout]      |
[INFO] [stdout] 117  | impl<'de, T> Deserialize<'de> for OneOrMany<T>
[INFO] [stdout]      |              ^^^^^^^^^^^^^^^^     ^^^^^^^^^^^^
[INFO] [stdout] note: required by `next_value`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.127/src/de/mod.rs:1842:5
[INFO] [stdout]      |
[INFO] [stdout] 1842 | /     fn next_value<V>(&mut self) -> Result<V, Self::Error>
[INFO] [stdout] 1843 | |     where
[INFO] [stdout] 1844 | |         V: Deserialize<'de>,
[INFO] [stdout]      | |____________________________^
[INFO] [stdout] help: consider further restricting this bound
[INFO] [stdout]      |
[INFO] [stdout] 7    | #[derive(Serialize, Deserialize + for<'d> serde::Deserialize<'d>)]
[INFO] [stdout]      |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `OneOrMany<std::string::String>`
[INFO] [stdout]   --> src/tests/one_or_many.rs:32:24
[INFO] [stdout]    |
[INFO] [stdout] 32 |     assert_eq!("test", boh.oom[0]);
[INFO] [stdout]    |                        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `OneOrMany<std::string::String>`
[INFO] [stdout]   --> src/tests/one_or_many.rs:33:25
[INFO] [stdout]    |
[INFO] [stdout] 33 |     assert_eq!("test2", boh.oom[1]);
[INFO] [stdout]    |                         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0608.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rustic_hal` due to 5 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "d3a6e31c4a257a307891f3209918a850a5237f937885f2c75dd367a37c6cf622", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d3a6e31c4a257a307891f3209918a850a5237f937885f2c75dd367a37c6cf622", kill_on_drop: false }`
[INFO] [stdout] d3a6e31c4a257a307891f3209918a850a5237f937885f2c75dd367a37c6cf622
